package com.cy.api;

public class ThreadTests01 {
    public static void main(String[] args) {
      new Thread(new Runnable(){
          @Override
          public void run() {
              System.out.println("thread 01 is running");
          }
      }).start();

      new Thread(()-> {
          System.out.println("thread 01 is running");
      }).start();

      new Thread(()-> System.out.println("thread 01 is running")).start();
    }
}
